/* 自定义样式 */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

/* 自定义渐变背景 */
.gradient-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 确保Layout高度，移除任何宽度限制 */
#root {
  height: 100vh;
  width: 100%;
}

/* 确保 Layout 和 Content 能够全宽 */
.ant-layout {
  width: 100% !important;
}

.ant-layout-content {
  width: 100% !important;
}

/* 卡片阴影效果 */
.ant-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.ant-card:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

/* 加载动画 */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* 系统信息卡片样式 */
.system-info-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .ant-layout-header {
    padding: 0 16px !important;
  }
  
  .ant-layout-content {
    padding: 16px !important;
  }
}